Results for spec@arb_separate_shader_objects@400 combinations by location

Overview

Result: pass

Back to summary

Details

Detail Value
Returncode 0
Time 0:00:01.125002
Stdout
Generating vertex shaders...
#version 140
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_explicit_attrib_location: require

layout(location = 0) in vec4 piglit_vertex;
layout(location = 1) in vec3 vertex_color;

layout(location = 3) out vec3 a;

const vec4 offset = vec4(2, 0, 0, 0);

uniform mat4 transform;

void main()
{
    gl_Position = transform * (piglit_vertex + offset);
    a = vertex_color;
}

Generating fragment shaders...
#version 140
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_explicit_attrib_location: enable

#if __VERSION__ >= 130
layout(location = 0) out vec4 out_color;
#else
#define out_color gl_FragColor
#endif

layout(location = 3) in vec3 b;

const vec3 color_offset = vec3(1, -3, 21);

void main()
{
    out_color = vec4(b + color_offset, 1.);
}

Stderr
WARNING: NVK is not a conformant Vulkan implementation, testing use only.
Environment
PIGLIT_SOURCE_DIR="/home/airlied/devel/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command
/home/airlied/devel/piglit/bin/arb_separate_shader_object-400-combinations -fbo --by-location -auto
dmesg

        

Back to summary